# coding: utf-8

from bluesky.model.resource_type_m import ResourceType
from extentions import db


def select_all():
    with db.with_session() as session:
        query = session.query(ResourceType)
        result = query.all()
    return result
